#ifndef BLDCDriver6PWM_h
#define BLDCDriver6PWM_h

#include "BLDCDriver.h"
#include "foc_utils.h"

typedef struct 
{
    int pwmA_h;
    int pwmA_l;
    int pwmB_h;
    int pwmB_l;
    int pwmC_h;
    int pwmC_l;
}BLDCDriver6PWM_PWM_t;

typedef struct
{
	BLDCDriver_t *driver;
}BLDCDriver6PWM_t;

void BLDCDriver6PWM_setPwm(float Ua, float Ub, float Uc);
void BLDCDriver6PWM_SetPhaseState(PhaseState a,PhaseState b,PhaseState c);
void BLDCDriver6PWM_disable(void);
void BLDCDriver6PWM_enable(void);
#endif
